<%@page import="models.PageModel"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
PageModel buyingGuide = (PageModel) request.getAttribute("buyingGuide");
PageModel returnsPolicy = (PageModel) request.getAttribute("returnsPolicy");
PageModel delivery = (PageModel) request.getAttribute("delivery");
PageModel payments = (PageModel) request.getAttribute("payments");
String s = (String) request.getAttribute("s");
%>

<jsp:include page="/layouts/header.jsp">
	<jsp:param name="language" value="1" />	
</jsp:include>
<script type="text/javascript">
$(document).ready(function () {
	activeTab("#<%=s%>");
});
</script>
			<div id="content_inner">
				<div id="productDetailInfo" class="clearafter">
                	<div class="left">
                    	<ul class="menuTab clearafter">
                        	<li class="menuTabItem-1"><a href="#buying-guide"><%=buyingGuide.getTitle() %></a></li>
                            <li class="menuTabItem-2"><a href="#returns-policy"><%=returnsPolicy.getTitle() %></a></li>
                            <li class="menuTabItem-3"><a href="#delivery"><%=delivery.getTitle() %></a></li>
                            <li class="menuTabItem-4"><a href="#payments"><%=payments.getTitle() %></a></li>
                        </ul>
                    	<div class="menuTabContent">
                        	<div id="buying-guide">
                        		<h2 class="page-title"><%=buyingGuide.getTitle() %></h2>
                            	<%=buyingGuide.getContent() %>
                            	<div style="clear: both;"></div>
                            </div>
                            <div id="returns-policy">
                            	<h2 class="page-title"><%=returnsPolicy.getTitle() %></h2>
                            	<%=returnsPolicy.getContent() %>
                            	<div style="clear: both;"></div>
                            </div>
                            <div id="delivery">
                            	<h2 class="page-title"><%=delivery.getTitle() %></h2>
                            	<%=delivery.getContent() %>
                            	<div style="clear: both;"></div>
                            </div>
                            <div id="payments">
                            	<h2 class="page-title"><%=payments.getTitle() %></h2>
                            	<%=payments.getContent() %>
                            	<div style="clear: both;"></div>
                            </div>
                        </div>
                    </div>
                    <div class="right rightSideBar">
                    	<jsp:include page="/elements/right_menu.jsp"/>
                    </div>
                </div>
			</div>

<jsp:include page="/layouts/footer.jsp">
    <jsp:param name="language" value="1" />
</jsp:include>